/**
 * Created by  on 2016/11/1.
 * ylj
 */
var envir="debug",configMap={debug:{basePathUrl:"http://10.10.10.182:6003",basePath:"http://10.10.10.182:6003/v2",qiniu_tokenPath:"http://10.10.10.182/v3/config/qiniu",jsPath:"src"},test:{basePathUrl:"http://10.10.10.182:80",basePath:"http://10.10.10.182:80/v2",qiniu_tokenPath:"http://10.10.10.182:80/v3/config/qiniu",jsPath:"app"},online:{basePathUrl:"http://120.24.152.97:6004",basePath:"http://120.24.152.97:6004/v2",qiniu_tokenPath:"http://120.24.152.97:6004/v3/config/qiniu",jsPath:"app"}},CONFIG=configMap[envir],wtSys={};wtSys.Emun={
//记录类型
RecordType:{/*"采集记录" : 1,
        "隐患记录" : 2,*/
"巡查反馈":3,"维修反馈":4},
//设施状态
DeviceStatus:{"正常":0,"故障":1,"废除":2},
//紧急程度
MissionLevel:{"一般":0,
// "重要":1,
"紧急":2},
// 任务模式
MissionMold:{"一般":0},
//来源类型
MissionFromType:{"周期计划":1,"隐患上报":2,"临时维修":3},
//目标种类
TargetKind:{"设施":1,"隐患":2},
//任务状态
MissionStatus:{"处理中":1,"待审核":2,"已完成":10,"已终止":11},
//隐患状态
DangerStatus:{"未处理":0,"处理中":1,"已处理":2},
//天气类型
weatherType:{"晴":"sunny","多云":"cloudy","阴":"overcast","阵雨":"shower","雷阵雨":"thundershower","雷阵雨伴有冰雹":"thundershower","雨夹雪":"sleet","小雨":"lightrain","中雨":"moderaterain","冻雨":"hail","大雨":"heavyrain","暴雨":"storm","大暴雨":"storm","特大暴雨":"storm","阵雪":"snowflurry","小雪":"lightsnow","中雪":"moderatesnow","大雪":"heavysnow","暴雪":"blizzard","雾":"foggy","浮尘":"dust","扬沙":"sand","沙尘暴":"duststorm","强沙尘暴":"duststorm","霾":"haze"},
//计划类型
/*土建工程日常巡检 = 11000,
    土建工程维护保养 = 12000,

    //附属设施日常巡检 = 13000,
    消防系统日常巡检 = 13001,
    通风系统日常巡检 = 13002,
    排水系统日常巡检 = 13003,
    供配电系统日常巡检          = 13004,
    照明系统日常巡检            = 13005,
    监控中心机房日常巡检        = 13006,
    环境与设备监控系统日常巡检  = 13007,
    安全防范系统日常巡检        = 13008,
    火灾自动报警系统日常巡检    = 13009,
    通信系统日常巡检            = 13010,

    //附属设施维护保养 = 14000,
    消防系统维修保养   = 14001,
    通风系统维修保养   = 14002,
    排水系统维维修保养 = 14003,
    供配电系统维修保养 = 14004,

    入廊管线巡检       = 1500,*/
PlanTypes:{"土建工程日常巡检":11e3,"土建工程维护保养":12e3,"消防系统日常巡检":13001,"通风系统日常巡检":13002,"排水系统日常巡检":13003,"供配电系统日常巡检":13004,"照明系统日常巡检":13005,"监控中心机房日常巡检":13006,"环境与设备监控系统日常巡检":13007,"安全防范系统日常巡检":13008,"火灾自动报警系统日常巡检":13009,"通信系统日常巡检":13010,"消防系统维修保养":14001,"通风系统维修保养":14002,"排水系统维维修保养":14003,"供配电系统维修保养":14004,"入廊管线巡检":15e3},
//计划状态
PlanStatus:{"未开始":0,"进行中":1,"已结束":2},/*PlanTypes:{
     "日计划":1,
     "周计划":2,
     "月计划":3,
     },*/
timeArr:["00:00","01:00","02:00","03:00","04:00","05:00","06:00","07:00","08:00","09:00","10:00","11:00","12:00","13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00"],PlanSchedule:[{id:"0",name:"计划一( 00:00, 02:00, 06:00, 10:00,12:00, 14:00 , 16:00 , 18:00 , 20:00 , 22:00)",title:"",description:" 每天 00:00, 02:00, 06:00, 10:00,12:00, 14:00 , 16:00 , 18:00 , 20:00 , 22:00巡查 ",Schedule:" 0 0,2,6,10,12,14,16,18,20,22 * * ? "}],
// 日期格式化
DateFormat:{DateTime24:"YYYY-MM-DD HH:mm:ss",DateTime12:"YYYY-MM-DD hh:mm:ss",DateTime:"YYYY-MM-DD HH:mm:ss",Date:"YYYY-MM-DD"}};